package com.riven.bilibilidemo.bean;

import java.util.List;

/**
 * @author rivenlee
 * @date 2017/3/12 19:35
 */

public class RecommendBannerInfo {


    /**
     * code : 0
     * data : [{"title":"番剧0312","value":"http://www.bilibili.com/blackboard/activity-SkN9Q4pqx.html","image":"http://i0.hdslb.com/bfs/archive/18a8fa03bf371ff61e1d4f93dd8ed3ccb5e66ede.jpg","type":2,"weight":1,"remark":"","hash":"46514d85715dce18cc0f08a8b3fd4511"},{"title":"科技48期","value":"http://www.bilibili.com/blackboard/activity-r14oCyljx.html","image":"http://i0.hdslb.com/bfs/archive/b82cb0b1c3db1c2d6691304ea8c4dba0a9447bb1.png","type":2,"weight":2,"remark":"","hash":"749eb388c33fd05286b0885b1a07c86d"}]
     */

    private int code;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * title : 番剧0312
         * value : http://www.bilibili.com/blackboard/activity-SkN9Q4pqx.html
         * image : http://i0.hdslb.com/bfs/archive/18a8fa03bf371ff61e1d4f93dd8ed3ccb5e66ede.jpg
         * type : 2
         * weight : 1
         * remark :
         * hash : 46514d85715dce18cc0f08a8b3fd4511
         */

        private String title;
        private String value;
        private String image;
        private int type;
        private int weight;
        private String remark;
        private String hash;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getWeight() {
            return weight;
        }

        public void setWeight(int weight) {
            this.weight = weight;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getHash() {
            return hash;
        }

        public void setHash(String hash) {
            this.hash = hash;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "title='" + title + '\'' +
                    ", value='" + value + '\'' +
                    ", image='" + image + '\'' +
                    ", type=" + type +
                    ", weight=" + weight +
                    ", remark='" + remark + '\'' +
                    ", hash='" + hash + '\'' +
                    '}';
        }
    }
}
